<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <jsp:include page="../basePath.jsp"></jsp:include>
    <title>数据核对</title>
    <style>
    .selectTD span{background:#eee}
    </style>
    <script language="javascript" src="page/datacheck/check_r13.js" charset="utf-8"></script>
    <script language="javascript" src="page/datacheck/not_passed.js" charset="utf-8"></script>
  </head>
  
  <body class="scrolling">
  	<input type="hidden" id="jobStatus" value="${jobStatus }">
	<div class="div">
	  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="2" >
        <tr>
          <td colspan="3">
			<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="point_bg">
	     	  <tr>
	     	  	<td align="left">数据日期：<input type="text" id="checkDate" value="${checkDate }" class="commDate" ></td>
		     	  <td height="30"  align="right" >
		            <input type="button" value="查 询" class="button" id="reQuery" >
		     	  	<input type="button" value="重新核对" class="button" id="reCheck" >
		     	  	<input type="button" value="调 整" class="button" id="btnEdit" disabled>
                	<input type="button" value="保 存" class="button" id="btnSave" disabled>
                	<input type="button" value="取 消" class="button" id="btnCancle" disabled>&nbsp;&nbsp;
                	<input type="button" value="查看历史" class="button" id="btnHist">
		          </td>
		      </tr>
	     	</table>
		  </td>
        </tr>
        <tr>
          <td width="33%" height="78" align="left" valign="top" style="border-right:1px solid rgb(164,198,215);padding-right:5px">
            <div style="width:100%;height:100%;overflow:auto" id="checkItemDiv">
	          	<table id="checkList" width="100%" border="0" align="center" cellpadding="3" cellspacing="0" >
	<c:forEach var="def" items="${dataCheckDefs}" >
	          	  <tr><td title="${def.formulaDesc }" id="check_${def.defId }" class="checkItem" style="cursor:pointer" onclick="changePage('${def.defId}');">
	          	  	<img src="themes/comm/images/close.gif" style="margin:0 3px 3px 0; vertical-align:middle"/><span id="span_check_${def.defId }">${def.checkName }</span>
	          	  </td></tr>
	</c:forEach>
	          	</table>
          	</div>
          </td>
     	  <td width="67%" align="center" valign="top" style="padding:41px 0 0">
			<table width="100%" class="form-table" border="0" align="center" cellpadding="0" cellspacing="0" >
			  <colgroup>
				<col style="background:rgb(250,250,250)" style="text-align:right" width="20%">
				<col style="background:rgb(250,250,250)" width="80%">
			  </colgroup>
			  <tr>
			  	<td valign="top">核对说明：</td>				
			   	<td id="formulaDesc"></td>
			  </tr>
			</table>
		  </td>
		</tr>
	  </table>
	  <div id="ListDiv" align="center" style="padding:0 2px" >
	   <div style="width:100%;overflow-x:auto;scrollbar-face-color: #dcdcdc; scrollbar-highlight-color: #ffffff; scrollbar-shadow-color: #ffffff; scrollbar-3dlight-color: #ffffff; scrollbar-arrow-color: #737373; scrollbar-track-color: #ffffff; scrollbar-darkshadow-color: #ffffff;">
	  	<input type="hidden" id="chkId" value="${checkR13.id }">
	  	<input type="hidden" id="relateChkId" value="${checkR13.modifyObj.id }">
	  	<table id="01060202resultList_0" cellSpacing="0" cellPadding="0" width="100%" >
    	  <tr><td>
        	<table cellSpacing="0" cellPadding="0" width="100%" height="100%" border="0" bordercolor="#AEAEAE" rules="rows" style="border-collapse:collapse;font-size:9pt;">
          	  <thead>
            	<tr class="queryList_titlebg" height="27">
            	  <th align="right" width="40%" nowrap class="table_td_font">项目名称&nbsp;&nbsp;</th>
            	  <th align="left" width="20%" nowrap class="table_td_font;line-height:1.2">原始值</th>
            	  <th align="left" width="40%" nowrap class="table_td_font;line-height:1.2">调整后值</th>
            	</tr>
   			  </thead>
  			  <tbody>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i1">业务日期：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querybusiDate">${checkR13.busiDate }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="busiDate">${checkR13.modifyObj.busiDate }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i1">核对类型：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querychkTypeDesc">${checkR13.chkTypeDesc }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="chkType">${checkR13.modifyObj.chkType }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap>挪用金额：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querydiscAmtText">${checkR13.discAmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="discAmt">${checkR13.modifyObj.discAmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i2" onclick=' getR13FactAmt()' style='cursor:hand;color:blue'>T日客户自有资金实际划转金额：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryreservesFactAmtText" onclick=' getR13FactAmt()' style='cursor:hand;color:blue'>${checkR13.reservesFactAmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="reservesFactAmt">${checkR13.modifyObj.reservesFactAmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i3">T-1日证券公司向客户扣收的手续费：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryfullCommText">${checkR13.fullCommText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="fullComm">${checkR13.modifyObj.fullCommText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i4">T-1日累计待调整自有收支：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryaccumAdjustAmtText">${checkR13.accumAdjustAmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="accumAdjustAmt">${checkR13.modifyObj.accumAdjustAmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i5">T-1证券公司支付登记公司的一级费用：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querysdcCommAmtText" onclick="getSettleAmt('1')" style='cursor:hand;color:blue'>${checkR13.sdcCommAmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="sdcCommAmt">${checkR13.modifyObj.sdcCommAmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i6">T-1日银行收取的手续费：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querybankCommText">${checkR13.bankCommText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="bankComm">${checkR13.modifyObj.bankCommText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i7">T-1证券公司客户资金存款账户收到的利息：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querybankInterestText">${checkR13.bankInterestText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="bankInterest">${checkR13.modifyObj.bankInterestText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i8">T-1证券公司客户资金交收账户收到的利息：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryreservesInterestText">${checkR13.reservesInterestText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="reservesInterest">${checkR13.modifyObj.reservesInterestText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i9">T-1证券公司向客户支付的结息金额：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querysecInterestText">${checkR13.secInterestText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="secInterest">${checkR13.modifyObj.secInterestText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i10">T-1日当日代扣代缴税费：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querywithheldTaxAmtText">${checkR13.withheldTaxAmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="withheldTaxAmt">${checkR13.modifyObj.withheldTaxAmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i11">T日当日交收当日已调整自有资金：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querysettleAdjustAmtText">${checkR13.settleAdjustAmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="settleAdjustAmt">${checkR13.modifyObj.settleAdjustAmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i12">T-1日清算轧差：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryclearOffsetBalText">${checkR13.clearOffsetBalText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="clearOffsetBal">${checkR13.modifyObj.clearOffsetBalText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i13">T-1日印花税轧差：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querystamptaxOffsetBalText">${checkR13.stamptaxOffsetBalText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="stamptaxOffsetBal">${checkR13.modifyObj.stamptaxOffsetBalText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i14">T-1日红冲蓝补：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryredBlueFillAmtText">${checkR13.redBlueFillAmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="redBlueFillAmt">${checkR13.modifyObj.redBlueFillAmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i14">其他费用1：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryother1AmtText">${checkR13.other1AmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="other1Amt">${checkR13.modifyObj.other1AmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i14">其他费用2：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryother2AmtText">${checkR13.other2AmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="other2Amt">${checkR13.modifyObj.other2AmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i14">其他费用3：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryother3AmtText">${checkR13.other3AmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="other3Amt">${checkR13.modifyObj.other3AmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap id="i14">其他费用4：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="queryother4AmtText">${checkR13.other4AmtText }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="other4Amt">${checkR13.modifyObj.other4AmtText }</td>
  			  	</tr>
  			  	<tr class="table_td_font" bgColor="#ffffff">
  			  		<td align="right"  height="25px" class="queryList_linebg" nowrap>备注：&nbsp;</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="querynote">${checkR13.note }</td>
  			  		<td align="left"  height="25px" class="queryList_linebg" nowrap id="note">${checkR13.modifyObj.note }</td>
  			  	</tr>
          	  </tbody>
        	</table>
   		  </td></tr>
   		  <tr><td class="query_bottomimg"></td></tr>
    	  <tr><td height="5px"></td></tr>
  	  	</table>
  	   </div>
	  </div>
	 
	   <div style="text-align:left;line-height:16px;color:#A0A0A0;padding:10px;">
	  	<b>计算公式：</b><br/>
挪用金额 = T日证券公司客户自有资金实际划转金额 - T-1日证券公司向客户扣收的手续费 - T-1日累计待调整自有收支 + T-1日证券公司支付登记公司的一级费用 + T-1日银行收取的手续费 
		 - T-1日证券公司客户资金存款账户收到的利息 - T-1日证券公司客户资金交收账户收到的利息 + T-1日证券公司向客户支付的结息金额 - T-1日当日代扣代缴税费 - T日当日交收当日已调整自有资金	  
	   </div>
	</div>
	    
	  
  </body>
</html>
